package com.own.stu.apm.agent.core.plugin.interceptor.enhence;

import java.lang.reflect.Method;

public interface InstanceMethodsAroundInterceptor {

    void beforeMethod(EnhenceInstanceField ojbIns, Method method, Object[] allArguments, Class<?>[] parameterTypes);

    Object afterMethod(EnhenceInstanceField ojbIns, Method method, Object[] allArguments, Class<?>[] parameterTypes, Object ret);

    void handleEx(EnhenceInstanceField ojbIns, Method method, Object[] allArguments, Class<?>[] parameterTypes, Throwable t);
}
